﻿using Lib.Data.Enumeration;

namespace Lib.Data.Entitys;
/// <summary>
/// Pagination 分页配置实体类
/// </summary>
public class Pagination {
    /// <summary>
    /// 构造函数
    /// </summary>
    public Pagination() {
        SQLs = [];
    }
    /// <summary>
    /// 数据库类型
    /// </summary>
    public dbType dbType;
    /// <summary>
    /// 默认使用分页模式（ Common 通用模式）
    /// </summary>
    public string Key { get; set; }
    /// <summary>
    /// 分页模式集合 Key = 分页模式关键字，Value = 分页SQL语句
    /// </summary>
    public Dictionary<string, string> SQLs { get; set; }
}